	<table>
		<thead>
			<tr>
				<th width="20"><?php echo form_checkbox(array('name' => 'action_to_all', 'class' => 'check-all')); ?></th>
				<th><?php echo lang('escort_volume_discount_agent_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_volume_discount_rate_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_volume_discount_actual_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_volume_discount_price_label'); ?></th>
				<th class="collapse"><?php echo lang('escort_volume_discount_active_label'); ?></th>
				<th width="200"></th>
			</tr>
		</thead>
		<tfoot>
			<tr>
				<td colspan="7">
					<div class="inner"><?php $this->load->view('admin/partials/pagination'); ?></div>
				</td>
			</tr>
		</tfoot>
		<tbody>
			<?php foreach ($volumeDiscounts as $volumeDiscount) : ?>
				<tr>
					<td><?php echo form_checkbox('action_to[]', $volumeDiscount->id); ?></td>
					<td><?php echo $volumeDiscount->agent_username ; ?></td>
					<td>
						<?php echo $volumeDiscount->rate_from ; ?>
						-
						<?php echo $volumeDiscount->rate_to ; ?>
						<?php echo lang('escort_volume_discount_users_label')?>
					</td>
					<td><?php echo $volumeDiscount->actual_registered; ?>
					<?php echo lang('escort_volume_discount_users_label')?>
					</td>
					<td>
					<?php echo $volumeDiscount->discount_amount_per_register; ?>
					<?php echo $volumeDiscount->discount_unit; ?>
					<?php echo lang('escort_volume_discount_per_register_label')?>
					</td>
					<td>
					<?php echo lang('escort_volume_discount_rate_from_label')?>
					<?php echo format_date($volumeDiscount->active_from)?>
					<?php echo lang('escort_volume_discount_rate_to_label')?>
					<?php echo format_date($volumeDiscount->active_to)?>
					</td>
					<td>
						<?php echo anchor('admin/be_volume_discount/edit/' . $volumeDiscount->id, lang('global:edit'), 'class="btn orange edit"'); ?>
						<?php echo anchor('admin/be_volume_discount/delete/' . $volumeDiscount->id, lang('global:delete'), array('class'=>'confirm btn red delete')); ?>
						<?php echo anchor('admin/be_volume_discount/export/' . $volumeDiscount->id, lang('escort_volume_discount_export_label'), 'class="btn orange edit"'); ?>
					</td>
				</tr>
			<?php endforeach; ?>
		</tbody>
	</table>